﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Request.Tech;
using ZH.Infrastructure.Dto.Request.Yuyue;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;
using ZH.Infrastructure.EFCore.MySql;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Promotion_Service
    {
        /// <summary>
        /// 获取推广文案
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_copywriting(int? page, int? limit, string? key);
        Task<Api_Response_Dto> Get_GL_record(int? page, int? limit, string? key);

        /// <summary>
        /// 获取推广海报
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_poster();


        /// <summary>
        /// 获取推广记录
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_record(User_Response_Dto? dto, string id);


        /// <summary>
        /// 获取收益
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_revenue(string user);

        /// <summary>
        /// 获取推广数量
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_promotion_quantity(string user);


        Task<Api_Response_Dto> Sr_record(string id,string cz);
    }
}
